package cn.itcast.domain.cargo;
/*
 * -------------------------------------------------------
 * Copyright (c) 2020, kachu
 * All rights reserved.
 * FileName：
 * Description：描述
 * History：V1.0
 * 2020/10/6 13:32  kachu  Desc
 * -------------------------------------------------------
 */

import java.io.Serializable;
import java.util.Date;

/**
 * @author kachu
 * @version v1.0
 */
public class Finance implements Serializable {

    /**
     * 财务报运单id
     */
    private String id;

    /**
     * 制单时间
     */
    private Date inputDate;

    /**
     * 发票号
     */
    private String invoiceId;

    /**
     * 发票金额
     */
    private Double invoiceMoney;

    /**
     * 发票时间
     */
    private Date invoiceTime;

    /**
     * 报运合同号s,数据来源于装箱表
     */
    private String exportNos;

    /**
     * 装运港
     */
    private String shipmentPort;

    /**
     * 目的港
     */
    private String destinationPort;

    /**
     * 收货人，提单抬头
     */
    private String consignee;


    public Finance() {
    }

    public Finance(String id, Date inputDate, String invoiceId, Double invoiceMoney, Date invoiceTime, String exportNos, String shipmentPort, String destinationPort, String consignee) {
        this.id = id;
        this.inputDate = inputDate;
        this.invoiceId = invoiceId;
        this.invoiceMoney = invoiceMoney;
        this.invoiceTime = invoiceTime;
        this.exportNos = exportNos;
        this.shipmentPort = shipmentPort;
        this.destinationPort = destinationPort;
        this.consignee = consignee;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return inputDate
     */
    public Date getInputDate() {
        return inputDate;
    }

    /**
     * 设置
     * @param inputDate
     */
    public void setInputDate(Date inputDate) {
        this.inputDate = inputDate;
    }

    /**
     * 获取
     * @return invoiceId
     */
    public String getInvoiceId() {
        return invoiceId;
    }

    /**
     * 设置
     * @param invoiceId
     */
    public void setInvoiceId(String invoiceId) {
        this.invoiceId = invoiceId;
    }

    /**
     * 获取
     * @return invoiceMoney
     */
    public Double getInvoiceMoney() {
        return invoiceMoney;
    }

    /**
     * 设置
     * @param invoiceMoney
     */
    public void setInvoiceMoney(Double invoiceMoney) {
        this.invoiceMoney = invoiceMoney;
    }

    /**
     * 获取
     * @return invoiceTime
     */
    public Date getInvoiceTime() {
        return invoiceTime;
    }

    /**
     * 设置
     * @param invoiceTime
     */
    public void setInvoiceTime(Date invoiceTime) {
        this.invoiceTime = invoiceTime;
    }

    /**
     * 获取
     * @return exportNos
     */
    public String getExportNos() {
        return exportNos;
    }

    /**
     * 设置
     * @param exportNos
     */
    public void setExportNos(String exportNos) {
        this.exportNos = exportNos;
    }

    /**
     * 获取
     * @return shipmentPort
     */
    public String getShipmentPort() {
        return shipmentPort;
    }

    /**
     * 设置
     * @param shipmentPort
     */
    public void setShipmentPort(String shipmentPort) {
        this.shipmentPort = shipmentPort;
    }

    /**
     * 获取
     * @return destinationPort
     */
    public String getDestinationPort() {
        return destinationPort;
    }

    /**
     * 设置
     * @param destinationPort
     */
    public void setDestinationPort(String destinationPort) {
        this.destinationPort = destinationPort;
    }

    /**
     * 获取
     * @return consignee
     */
    public String getConsignee() {
        return consignee;
    }

    /**
     * 设置
     * @param consignee
     */
    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    @Override
    public String toString() {
        return "Finance{id = " + id + ", inputDate = " + inputDate + ", invoiceId = " + invoiceId + ", invoiceMoney = " + invoiceMoney + ", invoiceTime = " + invoiceTime + ", exportNos = " + exportNos + ", shipmentPort = " + shipmentPort + ", destinationPort = " + destinationPort + ", consignee = " + consignee + "}";
    }
}
